<?php
/*
	[Phpup.Net!] (C)2009-2011 Phpup.net.
	This is NOT a freeware, use is subject to license terms

	$Id: admin.class.php 2010-08-24 10:42 $
*/

if(!defined('IN_PHPUP')) {
	exit('Access Denied');
}
header("content-type:text/html;charset=utf-8
");
?>
<iframe src="" name="sitemodify" style="display:none"></iframe>
<FORM METHOD="POST" ACTION="?con=<?php echo $GLOBALS['setting']['adminpath'];?>&act=chargemodify" target="sitemodify"  enctype="multipart/form-data">
<INPUT TYPE="hidden" NAME="updateid" value="<?php echo $charge['id'];?>">
<INPUT TYPE="hidden" NAME="commit" value="1">
<table width="300px" border="0" align="center"  cellpadding="3" cellspacing="1" class="table_style">
<tr>
<td width="90px" class="left_title_1"><span class="left-title">卡片图：</span></td>
<td><INPUT TYPE="file" class="normal_txt" NAME="thumb" value="<?php echo $charge['thumb'];?>">
<?php if($charge['thumb']){?><img src="<?php echo $charge['thumb'];?>" height="30px"/><?php }?>
</td>
</tr>

<tr>
<td width="90px" class="left_title_1"><span class="left-title">充值卡名：</span></td>
<td><INPUT TYPE="text" class="normal_txt" NAME="title"  value="<?php echo $charge['title'];?>"> </td>
</tr>

<tr>
<td width="90px" class="left_title_1"><span class="left-title"><?php echo !empty($GLOBALS['setting']['site_money_name'])?$GLOBALS['setting']['site_money_name']:'金币';?>：</span></td>
<td><INPUT TYPE="text" class="normal_txt" NAME="oldprice" value="<?php echo $charge['oldprice'];?>"></td>
</tr>
<tr>
<td width="90px" class="left_title_1"><span class="left-title">价格：</span></td>
<td><INPUT TYPE="text" class="normal_txt" NAME="nowprice" value="<?php echo $charge['nowprice'];?>"></td>
</tr>
<tr>
<td colspan="2" align="center"><INPUT TYPE="submit" value="提交" class="normal_button"> <INPUT TYPE="button" value="关闭" class="normal_button" onclick="$('#cate_area').hide();"></td>
</tr>
</table>
</FORM>